<?php
namespace app\user\controller;
use think\Controller;
use think\Session;
class Logout extends Controller {
    function index(){
        Session::clear();
        $this->success('注销成功！');
        //return '注销成功！';
    }
}